package com.atguigu.day14.test02;

import java.util.Scanner;

/**
 * @author fenge
 */
public class Test02 {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        System.out.print("这个qq号码是否正确:");
        String str = s.next();
        System.out.println(str.matches("[1-9][0-9]{4,11}+"));
    }
}
